package org.balabala.user.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import org.balabala.user.entity.BrowseInfoEntity;
import org.balabala.user.entity.UserEntity;
import org.balabala.user.entity.VideoEntity;
import org.balabala.user.utils.PageUtils;
import org.balabala.user.utils.Resp;


import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author hanshanxi
 * @email 3176988793@qq.com
 * @date 2021-09-04 09:31:53
 */
public interface BrowseInfoService extends IService<BrowseInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<VideoEntity> queryPageByUid(Map<String, Object> params);

    List<UserEntity> queryPageByVideoId(Map<String, Object> params);

    Resp removeByBrowseId(Integer browseId);

    Resp saveBrowse(BrowseInfoEntity browseInfo);

    PageUtils batchList(Map<String, Object> map);

    //  Long browseCount(Long videoid);


//    List<UserEntity> listByVideoId(List<Long> videoIds);
}

